import Vue from "vue";

import App from "./App.vue";
import TypeNav from "./components/TypeNav";

import router from "./router";
import store from "./store";
// 全局配置
import "./styles/reset.css";
import "./styles/iconfont.css";
import "./plugins/element.js";

import * as API from "./api";
// import "./test/module";

// Vue.prototype.$http = API
Vue.prototype.$API = API;

Vue.config.productionTip = false;

// 注册全局组件
Vue.component("TypeNav", TypeNav);



new Vue({
  store,
  router,
  render: (h) => h(App),
}).$mount("#app");
